// import * as Koa from 'koa';
import * as Router from 'koa-router';

export default (ctx: Router.IRouterContext, next: () => Promise<any>): any => {
    const rtn = {
        name : 'post json (application/json)',
        message : '这是一个不带参数的 GET 请求',
        data : ctx.request.body
    };

    ctx.body = rtn;
};
